package org.example.computerdesign.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.computerdesign.domain.po.Doctor;
/**
 * @author 朱文权
 * */
@Mapper
public interface DoctorMapper extends BaseMapper<Doctor> {
    @Select("select * from doctors where email=#{email}")
    Doctor selectByEmail(String email);
}
